import {SCROLL_VIEW} from "./scrollViewActionsType";

const initState={
  readToLoad:true
}
const scrollViewReducer =(state=initState,action)=>{
  switch (action.type) {
    case SCROLL_VIEW:
      return{...state,readToLoad:action.obj}
    default:
      return state
  }
}
export default scrollViewReducer